package com.lanyun.pojo;/**
 * @author zhy
 * @date 2021/1/5 - 19:16
 */

/**

 @ClassName Role
 @Description xxx
 @Author zhy
 @Date 2021/1/5 - 19:16
 @Version 1.0
 **/
public class Role {
    private Integer rid;//----角色id

    private String name;//---角色名字

    private String desc;//----角色描述

    public Integer getRid() {
        return rid;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Role{" +
                "rid=" + rid +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }

    public Role() {
    }

    public Role(Integer rid, String name, String desc) {
        this.rid = rid;
        this.name = name;
        this.desc = desc;
    }
}
